package com.ruoyi.web.controller.manage;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.manage.service.IAppDictDataService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: wwy
 * @Date: 2021/1/27 12:43
 */
@Api("移动端获取数据字典")
@RestController
@RequestMapping("/api")
public class AppDictDataController {
    @Autowired
    private IAppDictDataService appDictDataService;
    /**
     * 获取车牌类型
     * @return
     */
    @ApiOperation("获取车牌类型")
    @GetMapping("/getCarTypeAll")
    public AjaxResult getCarTypeAll(){
        return appDictDataService.getCarTypeAll();
    }

}
